#ifndef _CUMSTOMSOCKET_SOCKETADDRESS_
#define _CUMSTOMSOCKET_SOCKETADDRESS_

#include <WinSock2.h>
#include "iostream"

namespace CustomSocket
{
	class SocketAddress
	{
	public:
		SocketAddress(UINT16 port, const std::string ipv4);
		SocketAddress(const sockaddr* inSockAddr);
		sockaddr* GetSockAddr() const;
		size_t GetSize();

	private:
		sockaddr mSockAddr;
		sockaddr_in* GetSockAddrIn();
	};
}

#endif // !_CUMSTOMSOCKET_SOCKETADDRESS_


